package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * rooms对象 community_rooms
 * 
 * @author yhb
 * @date 2024-03-22
 */
public class CommunityRooms extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键房间号 */
    private Long id;

    /** 楼层 */
    @Excel(name = "楼层")
    private Long floorId;

    /** 用途id(字典) */
    @Excel(name = "用途")
    private Long purposeId;

    /** 建筑面积 */
    @Excel(name = "建筑面积")
    private BigDecimal area;

    /** 使用面积 */
    @Excel(name = "使用面积")
    private BigDecimal userArea;

    /** 删除标记，0未删除，1已删除 */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFloorId(Long floorId) 
    {
        this.floorId = floorId;
    }

    public Long getFloorId() 
    {
        return floorId;
    }
    public void setPurposeId(Long purposeId) 
    {
        this.purposeId = purposeId;
    }

    public Long getPurposeId() 
    {
        return purposeId;
    }
    public void setArea(BigDecimal area) 
    {
        this.area = area;
    }

    public BigDecimal getArea() 
    {
        return area;
    }
    public void setUserArea(BigDecimal userArea) 
    {
        this.userArea = userArea;
    }

    public BigDecimal getUserArea() 
    {
        return userArea;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("floorId", getFloorId())
            .append("purposeId", getPurposeId())
            .append("area", getArea())
            .append("userArea", getUserArea())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
